//
//  RecordObject.m
//  Behing
//
//  Created by Lj on 2018/3/8.
//  Copyright © 2018年 lj. All rights reserved.
//

#import "RecordObject.h"

static RecordObject * recordObject;

@implementation RecordObject

+ (instancetype)allocWithZone:(struct _NSZone *)zone {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        if (recordObject == nil) {
            recordObject = [super allocWithZone:zone];
        }
    });
    return recordObject;
}

+ (instancetype)share {
    return [[self alloc]init];
}


- (NSMutableArray *)classArray {
    if (_classArray == nil) {
        _classArray = [NSMutableArray array];
    }
    return _classArray;
}

@end
